export default function() {
	let x, y;
	window.setup = () => {
		createCanvas(windowWidth, windowHeight);
		x = width / 2;
		y = height;
	}

	let yoff = 0;
	window.draw = () => {
		background(200);

		stroke(50);
		fill(100);
		ellipse(x, y, 24, 24);

		x = x + random(-1, 1);
		y = y - 1;

		if (y < 0) {
			y = height;
		}
	}

	let dom = document.createElement('script')
	dom.src = './p5.min.js'
	document.body.appendChild(dom)
}
